// import axios from '@/utils/axios/index';
import axios from 'axios';
import { TrainQuery } from './types';
// A mock function to mimic making an async request for data
export async function fetchQuery(params: TrainQuery) {
  return axios.get('/api/rest/query', params);
}
